<template>
    <div>{{ one }}</div>
    <div>{{ two }}</div>
    <button @click="change">点我变诗</button>
</template>

<script setup>
    import { ref } from 'vue';
    const one = ref('不畏浮云遮望眼')
    const two = ref('只缘身在最高层')
    const change = () => {
        one.value = '山重水复疑无路'
        two.value = '柳暗花明又一村'
    }
</script>

<style>

</style>